param($pdf)
if (-not $pdf) { Write-Host "拖一个 PDF 到本脚本"; exit }
qpdf --decrypt --linearize --compress-streams=n --object-streams=disable `
     "$pdf" "$pdf.fixed.pdf"
Write-Host "输出：$pdf.fixed.pdf ，再用 docling 试跑"